package com.jpa.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@EnableJpaAuditing //利用jpa可以给MySQL列属性自动赋值,例如一些创建时间，修改时间
@SpringBootApplication
public class DemoJpaApplication {

    public static void main(String[] args) {

        SpringApplication.run(DemoJpaApplication.class, args);
    }

}
